package com.gaofans.vertx.boot.dbutils.session;

import io.vertx.sqlclient.SqlClient;
import reactor.core.publisher.Mono;

import java.util.List;

public interface ExecuteOperator<S extends SqlClient> {

    ExecuteOperator<S> by(String sql);

    ExecuteOperator<S> batch(List<Object>... params);

    ExecuteOperator<S> with(Object... params);

    Mono<Void> execute();
}
